package com.graduation.alien_yuan.smartmusicplayer.adapters;

import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.graduation.alien_yuan.smartmusicplayer.R;

import java.util.List;

/**
 * Created by Alien_yuan on 2016/3/5.
 */
public class FrequencyListAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> {


    private Context mContext;
    private List<Integer> mDataList;

    public FrequencyListAdapter(Context mContext, List<Integer> mDataList) {
        this.mContext = mContext;
        this.mDataList = mDataList;
    }

    @Override
    public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        return new FreItemViewHolder(LayoutInflater.from(mContext).inflate(R.layout.nav_header_main,parent,false));
    }

    @Override
    public void onBindViewHolder(RecyclerView.ViewHolder holder, int position) {

    }

    @Override
    public int getItemCount() {
        return mDataList.size();
    }

    public class FreItemViewHolder extends RecyclerView.ViewHolder{
        public FreItemViewHolder(View itemView) {
            super(itemView);
        }
    }
}
